<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 
class Template extends CI_Model{ 
	function __construct(){ 
		parent::__construct(); 		
	} 
	function getmenu(){ 
		$menu = $this->db->get('menu'); 		
		$data = $menu->result_array(); 
		return $data; 
	} 
	function getmenu_footer(){
		$menu = $this->db->get('menu_footer');
		$data = $menu->result_array();
		return $data;
	}
	function getcompany_info(){
		$menu = $this->db->get('company_info');
		$data = $menu->result_array();
		return $data;
	}
} 
